package com.yuke.cloud.service.cmc.service.impl;

import com.yuke.cloud.service.cmc.dao.CmsHotWordMapper;
import com.yuke.cloud.service.cmc.entity.CmsHotWord;
import com.yuke.cloud.service.cmc.service.CmsHotWordService;
import com.yuke.cloud.common.core.support.BaseService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by zys on 2019/01/18.
 */
@Service
@Transactional
public class CmsHotWordServiceImpl extends BaseService<CmsHotWord> implements CmsHotWordService {
    @Resource
    private CmsHotWordMapper cmsHotWordMapper;

    @Override
    public List<CmsHotWord> finit(String format,Integer searchType) {
        return cmsHotWordMapper.finit(format,searchType);
    }
}
